package day1108.demo07;

/**
 * @author wql
 * @version 1.0
 * @date 2022/11/8 17:16
 */

public class PowerOut implements ZhiYinEgg{
    private ZhiYin zhiYin;

    public PowerOut(ZhiYin zhiYin) {
        this.zhiYin = zhiYin;
    }

    @Override
    public String outZhiYinEgg() {
        String s = this.zhiYin.outZhiYin();
        return ("中分头"+s+"我是只因你记住");
    }
}
